html,
body {
  width: 100%;
  height: 100%;
}
.login-wrap {
  background: #50a3a2;
  background: -webkit-linear-gradient(top left, #50a3a2 0%, #53e3a6 100%);
  background: linear-gradient(to bottom right, #1ABC9C 0%, #53e3a6 100%);
  opacity: 0.9;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.login-wrap .login-main {
  position: absolute;
  width: 100%;
  height: 100%;
}
.login-wrap .login-top {
  position: absolute;
  text-align: center;
  width: 100%;
  height: 100%;
  top: 10%;
}
.login-wrap .login-top .login-logo {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  padding: 15px;
  box-sizing: content-box;
  display: inline-block;
}
.login-wrap .login-top .login-logo img {
  width: 80px;
  height: 80px;
}
.login-wrap .login-top .login-title {
  color: #fff;
  position: absolute;
  width: 400px;
  height: 20%;
  left: 50%;
  margin-left: -200px;
  top: 12%;
}
.login-wrap .login-top .login-title h1 {
  width: 400px;
  left: 50%;
  margin-left: -200px;
  position: absolute;
  font-size: 30px;
  font-weight: normal;
}
.login-wrap .login-top .login-title p {
  width: 400px;
  margin-left: -200px;
  position: absolute;
  left: 50%;
  font-size: 18px;
  top: 40%;
}
.login-wrap .login-bottom {
  width: 100%;
  text-align: center;
  color: #fff;
  position: fixed;
  bottom: 20px;
}
.login-wrap .login-bottom p {
  font-size: 14px;
  font-weight: 500;
}
.login-wrap .login-bottom h2 {
  font-size: 16px;
  font-weight: 500;
}
.login-wrap .login-form {
  width: 420px;
  border-radius: 20px;
  text-align: center;
  padding: 30px;
  background: #edf1f1;
  position: absolute;
  left: 50%;
  margin-left: -210px;
  top: 34%;
  height: 292px;
}
.login-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}
.login-animation li {
  position: absolute;
  list-style: none;
  display: block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  bottom: -160px;
  -webkit-animation: square 6s infinite;
  animation: square 6s infinite;
  -webkit-transition-timing-function: linear;
  transition-timing-function: linear;
}
.login-animation li:nth-child(1) {
  left: 10%;
}
.login-animation li:nth-child(2) {
  left: 20%;
  width: 80px;
  height: 80px;
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
  -webkit-animation-duration: 17s;
  animation-duration: 17s;
}
.login-animation li:nth-child(3) {
  left: 25%;
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
}
.login-animation li:nth-child(4) {
  left: 40%;
  width: 60px;
  height: 60px;
  -webkit-animation-duration: 22s;
  animation-duration: 22s;
  background-color: rgba(255, 255, 255, 0.25);
}
.login-animation li:nth-child(5) {
  left: 70%;
}
.login-animation li:nth-child(6) {
  left: 80%;
  width: 120px;
  height: 120px;
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
  background-color: rgba(255, 255, 255, 0.2);
}
.login-animation li:nth-child(7) {
  left: 32%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 7s;
  animation-delay: 7s;
}
.login-animation li:nth-child(8) {
  left: 55%;
  width: 20px;
  height: 20px;
  -webkit-animation-delay: 15s;
  animation-delay: 15s;
  -webkit-animation-duration: 40s;
  animation-duration: 40s;
}
.login-animation li:nth-child(9) {
  left: 25%;
  width: 10px;
  height: 10px;
  -webkit-animation-delay: 4s;
  animation-delay: 4s;
  -webkit-animation-duration: 40s;
  animation-duration: 40s;
  background-color: rgba(255, 255, 255, 0.3);
}
.login-animation li:nth-child(10) {
  left: 90%;
  width: 160px;
  height: 160px;
  -webkit-animation-delay: 11s;
  animation-delay: 11s;
}
@-webkit-keyframes square {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
    transform: translateY(-700px) rotate(600deg);
  }
}
@keyframes square {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  100% {
    -webkit-transform: translateY(-700px) rotate(600deg);
    transform: translateY(-700px) rotate(600deg);
  }
}
@media screen and (max-height: 1200px) {
    .login-wrap .login-top.login-logo {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    box-sizing: content-box;
    display: inline-block;
  }
    .login-wrap .login-top.login-logo img {
    width: 80px;
    height: 80px;
  }
  .login-wrap .login-top .login-title {
    color: #fff;
    position: absolute;
    width: 400px;
    height: 20%;
    left: 50%;
    margin-left: -200px;
    top: 12%;
  }
  .login-wrap .login-top .login-title h1 {
    width: 400px;
    left: 50%;
    margin-left: -200px;
    position: absolute;
    font-size: 30px;
    font-weight: normal;
  }
  .login-wrap .login-top .login-title p {
    width: 400px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    font-size: 18px;
    top: 40%;
  }
  .login-form {
    width: 420px;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    background: #edf1f1;
    position: absolute;
    left: 50%;
    margin-left: -210px;
    top: 34%;
    height: 292px;
  }
}
@media screen and (max-height: 1050px) {
  .login-wrap .login-top .login-logo {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    box-sizing: content-box;
    display: inline-block;
  }
  .login-wrap .login-top .login-logo img {
    width: 80px;
    height: 80px;
  }
  .login-wrap .login-top .login-title {
    color: #fff;
    position: absolute;
    width: 400px;
    height: 20%;
    left: 50%;
    margin-left: -200px;
    top: 12%;
  }
  .login-wrap .login-top .login-title h1 {
    width: 400px;
    left: 50%;
    margin-left: -200px;
    position: absolute;
    font-size: 30px;
    font-weight: normal;
  }
  .login-wrap .login-top .login-title p {
    width: 400px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    font-size: 18px;
    top: 40%;
  }
  .login-form {
    width: 420px;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    background: #edf1f1;
    position: absolute;
    left: 50%;
    margin-left: -210px;
    top: 34%;
    height: 292px;
  }
}
@media screen and (max-height: 900px) {
  .login-wrap .login-top {
    top: 10%;
  }
   .login-wrap .login-top .login-logo {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    box-sizing: content-box;
    display: inline-block;
  }
   .login-wrap .login-top .login-logo img {
    width: 60px;
    height: 60px;
  }
  .login-wrap .login-top .login-title {
    color: #fff;
    position: absolute;
    width: 400px;
    height: 20%;
    left: 50%;
    margin-left: -200px;
    top: 12%;
  }
  .login-wrap .login-top .login-title h1 {
    width: 400px;
    left: 50%;
    margin-left: -200px;
    position: absolute;
    font-size: 28px;
    font-weight: normal;
  }
  .login-wrap .login-top .login-title p {
    width: 400px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    font-size: 18px;
    top: 40%;
  }
  .login-wrap .login-form {
    width: 420px;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    background: #edf1f1;
    position: absolute;
    left: 50%;
    margin-left: -210px;
    top: 34%;
    height: 280px;
  }
  .login-wrap .login-bottom {
    width: 100%;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 20px;
  }
  .login-wrap .login-bottom p {
    font-size: 14px;
    font-weight: 500;
  }
  .login-wrap .login-bottom h2 {
    font-size: 16px;
    font-weight: 500;
  }
}
@media screen and (max-height: 768px) {
  .login-wrap .login-top .login-logo {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    box-sizing: content-box;
    display: inline-block;
  }
  .login-wrap .login-top .login-logo img {
    width: 50px;
    height: 50px;
  }
  .login-wrap .login-top {
    top: 10%;
  }
  .login-wrap .login-top .login-title {
    color: #fff;
    position: absolute;
    width: 400px;
    height: 20%;
    left: 50%;
    margin-left: -200px;
    top: 12%;
  }
  .login-wrap .login-top .login-title h1 {
    width: 400px;
    left: 50%;
    margin-left: -200px;
    position: absolute;
    font-size: 24px;
    font-weight: normal;
    font-weight: 500;
  }
  .login-wrap .login-top .login-title p {
    width: 400px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    font-size: 16px;
    top: 40%;
  }
  .login-wrap .login-form {
    width: 420px;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    background: #edf1f1;
    position: absolute;
    left: 50%;
    margin-left: -210px;
    top: 34%;
    height: 280px;
  }
  .login-wrap .login-bottom {
    width: 100%;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 20px;
  }
  .login-wrap .login-bottom p {
    font-size: 14px;
    font-weight: 500;
  }
  .login-wrap .login-bottom h2 {
    font-size: 16px;
    font-weight: 500;
  }
}
@media screen and (max-height: 630px) {
  .login-wrap .login-top .login-logo {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    box-sizing: content-box;
    display: inline-block;
  }
  .login-wrap .login-top .login-logo img {
    width: 40px;
    height: 40px;
  }
  .login-wrap .login-top {
    top: 10%;
  }
  .login-wrap .login-top .login-title {
    color: #fff;
    position: absolute;
    width: 400px;
    height: 20%;
    left: 50%;
    margin-left: -200px;
    top: 12%;
  }
  .login-wrap .login-top .login-title h1 {
    width: 400px;
    left: 50%;
    margin-left: -200px;
    position: absolute;
    font-size: 22px;
    font-weight: normal;
    font-weight: 500;
  }
  .login-wrap .login-top .login-title p {
    width: 400px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    font-size: 16px;
    top: 40%;
  }
  .login-wrap .login-form {
    width: 420px;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    background: #edf1f1;
    position: absolute;
    left: 50%;
    margin-left: -210px;
    top: 34%;
    height: 280px;
  }
  .login-wrap .login-bottom {
    width: 100%;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 20px;
  }
  .login-wrap .login-bottom p {
    font-size: 14px;
    font-weight: 500;
  }
  .login-wrap .login-bottom h2 {
    font-size: 16px;
    font-weight: 500;
  }
}
@media screen and (max-height: 540px) {
  .login-wrap .login-top .login-logo {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    padding: 15px;
    box-sizing: content-box;
    display: inline-block;
  }
  .login-wrap .login-top .login-logo img {
    width: 40px;
    height: 40px;
  }
  .login-wrap .login-top {
    top: 6%;
  }
  .login-wrap .login-top .login-title {
    color: #fff;
    position: absolute;
    width: 400px;
    height: 20%;
    left: 50%;
    margin-left: -200px;
    top: 14%;
  }
  .login-wrap .login-top .login-title h1 {
    width: 400px;
    left: 50%;
    margin-left: -200px;
    position: absolute;
    font-size: 22px;
    font-weight: normal;
    font-weight: 500;
  }
  .login-wrap .login-top .login-title p {
    width: 400px;
    margin-left: -200px;
    position: absolute;
    left: 50%;
    font-size: 16px;
    top: 40%;
  }
  .login-wrap .login-form {
    width: 420px;
    border-radius: 20px;
    text-align: center;
    padding: 30px;
    background: #edf1f1;
    position: absolute;
    left: 50%;
    margin-left: -210px;
    top: 34%;
    height: 280px;
  }
  .login-wrap .login-bottom {
    width: 100%;
    text-align: center;
    color: #fff;
    position: fixed;
    bottom: 0;
  }
  .login-wrap .login-bottom p {
    font-size: 14px;
    font-weight: 500;
  }
  .login-wrap .login-bottom h2 {
    font-size: 16px;
    font-weight: 500;
  }
}
